#ifndef _H_PMesh
#define _H_PMesh

#include "MSTK_defines.h"
#include "MSTK_types.h"

#include <mpi.h>

#ifdef _cplusplus
extern "C" {
#endif

  void PMV_Duplicate(MVertex_ptr mv, MVertex_ptr mv_new);
  void PME_Duplicate(MEdge_ptr me, MEdge_ptr me_new);
  void PMF_Duplicate(MFace_ptr mf, MFace_ptr mf_new);
  void PMR_Duplicate(MRegion_ptr mr, MRegion_ptr mr_new);
  PType Str2PType(char *str);

  int        PMESH_InitFromFile(Mesh_ptr mesh, const char *filename);
  int        PMESH_WriteToFile(Mesh_ptr mesh, const char *filename, RepType rtype);

#ifdef _cplusplus
}
#endif


#endif
